<div>{$game.del1} vs {$game.del2}</div>
<table>
    <tr height="24">
        <td width="25%">Lugar:</td>
        <td>
            <p style="padding: 2px;" id="gme_plc_id">{$game.gme_place}</p>
            <script type="text/javascript">
                inplacecollectioneditor('{$game.gme_id}','gme_plc_id','Game/WP_Game.php?action=13',[{foreach item=pool from=$places}[{$pool.plc_id},"{$pool.plc_name}"],{/foreach}],{$game.gme_plc_id});
            </script>
        </td>
    </tr>
    <tr height="24">
        <td>Fecha (aaaa.mm.dd):</td>
        <td>
            <p style="padding: 2px;" id="gme_date">{$game.gme_date}</p>
            <script type="text/javascript">
                inplaceeditor('{$game.gme_id}','gme_date','Game/WP_Game.php?action=13');
            </script>
        </td>
    </tr>
    <tr height="24">
        <td>Hora:</td>
        <td>
            <span style="padding: 2px;width: 20px;" id="hour">{$game.hour}</span>
            :
            <span style="padding: 2px;width: 20px;" id="min">{$game.min}</span>
            <script type="text/javascript">
                inplacecollectioneditor('{$game.gme_id}'
                                        ,'hour'
                                        ,'Game/WP_Game.php?action=13&time={$game.gme_time}'
                                        ,[{section name=hour start=8 loop=18 step=1}
                                            ['{if $smarty.section.hour.index < 10}0{/if}{$smarty.section.hour.index}',
                                            "{if $smarty.section.hour.index < 10}0{/if}{$smarty.section.hour.index}"],
                                        {/section}]
                                        ,'{$game.hour}');
                inplacecollectioneditor('{$game.gme_id}'
                                        ,'min'
                                        ,'Game/WP_Game.php?action=13&time={$game.gme_time}'
                                        ,[{section name=min start=0 loop=60 step=10}
                                            ['{if $smarty.section.min.index < 10}0{/if}{$smarty.section.min.index}',
                                            "{if $smarty.section.min.index < 10}0{/if}{$smarty.section.min.index}"],
                                        {/section}]
                                        ,'{$game.min}');
            </script>
        </td>
    </tr>
    <tr height="24">
        <td>Ronda:</td>
        <td>
            <p style="padding: 2px;" id="gme_rnd_id">{$game.gme_round}</p>
            <script type="text/javascript">
                inplacecollectioneditor('{$game.gme_id}','gme_rnd_id','Game/WP_Game.php?action=13',[{foreach item=round from=$rounds}[{$round.rnd_id},"{$round.rnd_name}"],{/foreach}],{$game.gme_rnd_id});
            </script>
        </td>
    </tr>
    <tr height="24">
        <td>Categor&iacute;a:</td>
        <td>
            <p style="padding: 2px;" id="gme_gender">
                {if $game.gme_gender eq 'm'}
                    Masculino
                {else}
                    Femenino
                {/if}
            </p>
            <script type="text/javascript">
                inplacecollectioneditor('{$game.gme_id}','gme_gender','Game/WP_Game.php?action=13',[['m',"Masculino"],['f',"Femenino"]],'{$game.gme_gender}');
            </script>
        </td>
    </tr>
    <tr height="24">
        <td>Arbitro 1:</td>
        <td>
            <p style="padding: 2px;" id="gme_referee_1">{$game.ref1}</p>
            <script type="text/javascript">
                inplacecollectioneditor('{$game.gme_id}','gme_referee_1','Game/WP_Game.php?action=13&ref={$game.gme_referee_2}',[{foreach item=usu from=$referees}[{$usu.usu_id},"{$usu.name}"],{/foreach}],{$game.gme_referee_1});
            </script>
        </td>
    </tr>
    <tr height="24">
        <td>Arbitro 2:</td>
        <td>
            <p style="padding: 2px;" id="gme_referee_2">{$game.ref2}</p>
            <script type="text/javascript">
                inplacecollectioneditor('{$game.gme_id}','gme_referee_2','Game/WP_Game.php?action=13&ref={$game.gme_referee_1}',[{foreach item=usu from=$referees}[{$usu.usu_id},"{$usu.name}"],{/foreach}],{$game.gme_referee_2});
            </script>
        </td>
    </tr>
    <tr>
        <td />
        <td>
            <input class="button" type="button" value="Cerrar" onclick="Effect.Fade('info')" />
            <input class="button" type="button" value="Borrar" onclick="" />
        </td>
    </tr>
</table>
{literal}
<script type="text/javascript">
    Effect.Appear('info');
</script>
{/literal}